package com.ferryc.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/*
 *  Created by Ferry Chen on 2019-11-06.
 */
@Data
@TableName("t_order")
public class  Order{

  @TableId(value = "id",type = IdType.UUID)
   private  String  id;

   @TableField(value = "user_id",exist = true)
   private  String  userId;

   private  Integer  count;

   private  Double  money;

   @TableField(value = "update_time",exist = true)
   private  Date  updateTime;

   @TableField(value = "insert_time",exist = true)
   private  Date  insertTime;

   private String status;
   @TableField(value = "pay_time",exist = true)
   private Date payTime;



}